package com.doit.profile_server.controller;/**
 * Created by hunter.coder 涛哥
 * 2019/3/28 15:02
 * 交流qq:657270652
 * Version: 1.0
 * 更多学习资料：https://blog.csdn.net/coderblack/
 * Description:
 **/

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author hunter.coder
 * @Date 2019/3/28 15:02
 * @Version 1.0
 * @Description TODO
 **/


@RestController
public class HelloController {

    @RequestMapping("/hello/{name}")
    public String hello(@PathVariable String name){

        return "hello "+ name.toUpperCase();
    }



}
